import routerView from '@/components/pubComp/routerView.vue'

const pre = 'asset-'
export default {
  path: '/asset',
  name: 'asset',
  meta: {
    title: '资产贴签主页面',
  },
  redirect: {
    name: `${pre}index`,
  },
  component: routerView,
  children: [
    {
      path: '/asset/index',
      name: `${pre}index`,
      meta: {
        title: '资产贴签主页面',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/index'),
    },
    {
      path: '/asset/assetHouseEquipment',
      name: `${pre}assetHouseEquipment`,
      meta: {
        title: '楼宇设备',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/assetHouseEquipment')
    },
    {
      path: '/asset/assetHouseEquipmentEdit',
      name: `${pre}assetHouseEquipmentEdit`,
      meta: {
        title: '楼宇设备修改',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/assetHouseEquipmentEdit.vue')
    },
    {
      path: '/asset/asssetHouseEquipmentDetail',
      name: `${pre}asssetHouseEquipmentDetail`,
      meta: {
        title: '楼宇设备详情',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/asssetHouseEquipmentDetail.vue')
    },
    // 办公物资
    {
      path: '/asset/officeMaterialRegister',
      name: `${pre}officeMaterialRegister`,
      meta: {
        title: '办公物资登记',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/officeMaterialRegister.vue')
    },
    {
      path: '/asset/officeMaterialRegisterEdit',
      name: `${pre}officeMaterialRegisterEdit`,
      meta: {
        title: '办公物资详情',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/officeMaterialRegisterEdit.vue')
    },

    // 服务设备
    {
      path: '/asset/serviceEquipment',
      name: `${pre}serviceEquipment`,
      meta: {
        title: '服务设备物资登记',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/serviceEquipment.vue')
    },
    {
      path: '/asset/serviceEquipmentEdit',
      name: `${pre}serviceEquipmentEdit`,
      meta: {
        title: '服务设备详情',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/serviceEquipmentEdit.vue')
    },
    {
      path: '/asset/serviceEquipmentPeopleChoose',
      name: `${pre}serviceEquipmentPeopleChoose`,
      meta: {
        title: '人员选择',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetLabel/serviceEquipmentPeopleChoose.vue')
    },

    {
      path: '/asset/assetHouseEquipmentDetaili',
      name: `${pre}assetHouseEquipmentDetaili`,
      meta: {
        title: '楼宇设备详情',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetDetail/assetHouseEquipmentDetaili.vue')
    },
    {
      path: '/asset/officeMaterialRegisterDetail',
      name: `${pre}officeMaterialRegisterDetail`,
      meta: {
        title: '办公物资详情',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetDetail/officeMaterialRegisterDetail.vue')
    },
    {
      path: '/asset/serviceEquipmentDetail',
      name: `${pre}serviceEquipmentDetail`,
      meta: {
        title: '服务设备详情',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/assetDetail/serviceEquipmentDetail.vue')
    },
    {
      path: "/asset/apply",
      name: `${pre}apply`,
      meta: {
        title: "办公物资申请",
        closable: false,
      },
      component: () => import("@/views/srvAssurance/officeSupplies/apply.vue"),
    },
    {
      path: "/asset/mySupplies",
      name: `${pre}mySupplies`,
      meta: {
        title: "我的办公物资",
        closable: false,
      },
      component: () => import("@/views/srvAssurance/officeSupplies/mySupplies.vue"),
    },
  ],
}
